import request from '@/utils/request'
// 预警规则的人群分组 API接口
// eslint-disable-next-line camelcase
const crw_rule_group_Api = {
  groupIdsByRuleId: '/crw_rule_group/groupIdsByRuleId' // 条件查询
}

/**
 * 社矫对象分页查询接口
 * @param {*} ruleId
 */
export function getGroupIdsByRuleId (ruleId) {
  return request({
    url: crw_rule_group_Api.groupIdsByRuleId,
    method: 'get',
    params: {
      ruleId
    }
  })
}